<%@ taglib prefix="s" uri="/struts-tags" %>
<%--
  Created by IntelliJ IDEA.
  User: lzy
  Date: 2018/9/6
  Time: 22:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Input Product by struts2</title>
</head>
<body>
<h4>Input Product by struts2</h4>
<s:debug></s:debug>
<%--<s:property value="exceptionStack"/>--%>
<s:property value="exception"/>
<br/>
<form method="post" action="<s:url action="product-save2"/>">
    Product name: &nbsp;&nbsp; <input type="text" name="productName">
    <br/><br/>
    Product Desc: &nbsp;&nbsp; <input type="text" name="productDesc">
    <br/><br/>
    Product Price: &nbsp;&nbsp; <input type="text" name="productPrice">
    <br/><br/>
    <input type="submit" value="Submit"/>
    <br/><br/>
</form>
</body>
</html>
